package com.zhijiang.hospital.mapper;

import com.zhijiang.hospital.entrty.ComEmployee;
import com.zhijiang.hospital.entrty.dto.EmployeeDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EmpolyeeMapper {
    List<ComEmployee> getAll(String deptCode);

    List<ComEmployee> getCadre();

    ComEmployee selectOne(@Param("userName") String userName);

    List<EmployeeDto> findList();
}
